package com.application.Tree;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.shapes.RoundRectShape;

public class TreeMenu {
	int width=200;
	int heigh=300;
	float x=0;
	float y=0;
	public void onDraw(Canvas canvas){
		Paint p1 = new Paint();
		p1.setARGB(150, 179, 129, 189);
		p1.setAntiAlias(true);
		p1.setStrokeWidth(3);
		
		RectF rect=new RectF(x, y, x + width, y + heigh);
		
		canvas.drawRoundRect(rect, 10, 10, p1);
	}
	public void setPosition(float x, float y){
		this.x=x;
		this.y=y;
	}
}
